//
//  AboutViewController.swift
//  zhucexiaofang
//
//  Created by shanghongzhi on 15/12/15.
//  Copyright © 2015年 shz. All rights reserved.
//

import UIKit

class AboutViewController: UIViewController {

    @IBOutlet var textView: UITextView!
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColor.whiteColor()
        self.title = "关于本书"
        textView.userInteractionEnabled = false

        // Do any additional setup after loading the view.
        let leftButton = UIBarButtonItem.init(image: UIImage.init(named:"返回按钮@2x.png"), style: UIBarButtonItemStyle.Done, target: self, action: "getBack")
        self.navigationItem.leftBarButtonItem = leftButton
    }
    func getBack(){
        self.navigationController?.popViewControllerAnimated(true)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
